<h2>文章管理</h2>
<?php
$this->menu = array(
	array('label'=>'添加文章', 'url'=>array('edit'), 'visible'=>Yii::app()->user->v('manage@ArticleEdit')),
);
$table = new YDataGrid($list, array(
	'columns' => array(
		'title'
	),
	'key' => '_id'
));

$table
->setTitles(array('文章名称'))
->insertCol(0, array(
	YHtmlDataGrid::link('编辑', '/manage/Article/Edit/{$key}', array('visible'=>Yii::app()->user->v('manage@ArticleEdit'))),
	YHtmlDataGrid::link('预览', '/Article/{$key}', array('target'=>'_blank'))
), '操作')
->render(false);